<template>
  <h1>员工列表练习</h1>
  <input type="text" placeholder="请输入员工姓名">
  <input type="text" placeholder="请输入员工工资">
  <input type="text" placeholder="请输入员工岗位">
  <button onclick="f()">添加员工</button>
  <hr>
  <table>
    <tr>
      <th>编号</th>
      <th>姓名</th>
      <th>工资</th>
      <th>岗位</th>
    </tr>
  </table>
</template>
<script setup>
  import {ref} from "vue";

  const num = ref(){

  }

</script>
<style scoped>

</style>